home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / graphics / gnuplot / makefile.ami < prev    next >
Makefile  |  1993-09-15  |  3KB  |  127 lines

  1. #
  2. # $Id: makefile.ami%v 3.50 1993/07/09 05:35:24 woo Exp $
  3. #
  4. #
  5. #
  6. #   Makefile for the Amiga             Pat R. Empleo
  7. #                                      Sept 1991
  8. #      Manx Aztec C 5.2 beta version
  9. #
  10. #   Usage:
  11. #
  12. #      make -f makefile.ami
  13. #
  14. #
  15.  
  16. # where to install help file gnuplot.gih
  17. HELPDEST=GNUPLOT:docs/gnuplot.gih
  18. # Where to send email about bugs and comments (locally)
  19. EMAIL="bug-gnuplot@dartmouth.edu"
  20.  
  21. #
  22. # Manx Aztec C v5.2 compiler options
  23. #
  24. # -DVFORK  We use this switch to invoke fexecv()
  25. #
  26. CC     = cc
  27. CFLAGS = -mcd -DVFORK -DNOGAMMA -DMEMSET -DMEMCPY -DAMIGA_AC_5 -fa -sab -wosw -MR
  28.  
  29. #
  30. # Manx Aztec C v5.2 linker options
  31. #
  32. LD   = ln
  33. LIBS = -lmal -lc
  34.  
  35. #
  36. # Terminal (device) support --- see term.h
  37. #
  38. TERMFLAGS = -Iterm
  39.  
  40. #
  41. # List of object files except term.o, version.o
  42. #
  43. OBJS = binary.o bitmap.o command.o contour.o eval.o gnubin.o graphics.o \
  44.        graph3d.o help.o internal.o misc.o parse.o plot.o scanner.o \
  45.        setshow.o specfun.o standard.o util.o  
  46.  
  47. #
  48. # List of sources
  49. #
  50. CSOURCE1 = binary.c command.c setshow.c 
  51. CSOURCE2 = help.c gnubin.c graphics.c graph3d.c internal.c 
  52. CSOURCE3 = misc.c eval.c parse.c plot.c readline.c scanner.c standard.c 
  53. CSOURCE4 = bitmap.c term.c util.c version.c
  54. CSOURCE5 = term/amiga.trm term/aed.trm term/cgi.trm term/dumb.trm term/dxf.trm \
  55.     term/dxy.trm term/eepic.trm term/epson.trm term/fig.trm \
  56.     term/hp26.trm term/hp2648.trm term/hpgl.trm term/hpljii.trm \
  57.     term/apollo.trm term/gpr.trm
  58. CSOURCE6 = term/impcodes.h term/imagen.trm term/object.h \
  59.     term/iris4d.trm term/kyo.trm term/latex.trm term/pbm.trm term/pc.trm 
  60. CSOURCE7 = term/post.trm term/qms.trm term/regis.trm term/sun.trm \
  61.     term/t410x.trm term/tek.trm term/unixpc.trm term/unixplot.trm \
  62.     term/v384.trm term/x11.trm term/bigfig.trm term/vws.trm gplt_x11.c
  63. CSOURCE8 = contour.c specfun.c
  64.  
  65. #
  66. # Docs
  67. #
  68. DOCS1 = docs/Makefile docs/README docs/checkdoc.c docs/doc2gih.c \
  69.     docs/doc2hlp.c docs/doc2hlp.com docs/doc2ms.c docs/doc2tex.c \
  70.     docs/gnuplot.1 docs/lasergnu.1 docs/toc_entry.sty \
  71.     docs/titlepage.ms docs/titlepage.tex
  72. DOCS2 = docs/gnuplot.doc
  73. DOCS3 = docs/latextut/Makefile docs/latextut/eg1.plt \
  74.     docs/latextut/eg2.plt docs/latextut/eg3.dat docs/latextut/eg3.plt \
  75.     docs/latextut/eg4.plt docs/latextut/eg5.plt docs/latextut/eg6.plt \
  76.     docs/latextut/header.tex docs/latextut/tutorial.tex \
  77.     docs/latextut/linepoint.plt
  78.  
  79. #
  80. # Targets
  81. #
  82.  
  83. default: gnuplot doc
  84.  
  85. gnuplot: $(OBJS) term.o version.o
  86.     $(LD) $(OBJS) term.o version.o $(LIBS) -o gnuplot
  87.  
  88. doc:
  89.     cd docs
  90.     make -f makefile.ami gih
  91.  
  92. #
  93. # Dependencies
  94. #
  95. plot.o: plot.c
  96.     $(CC) $(CFLAGS) plot.c
  97.  
  98. term.o: term.h term.c $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
  99.     $(CC) $(CFLAGS) $(TERMFLAGS) term.c
  100.  
  101. version.o:
  102.     $(CC) $(CFLAGS) -DCONTACT=$(EMAIL) version.c
  103.  
  104. $(OBJS): plot.h
  105.     $(CC) $(CFLAGS) $*.c
  106.  
  107. command.o:
  108.     $(CC) $(CFLAGS) -c command.c -DHELPFILE="$(HELPDEST)"
  109.  
  110. command.o help.o misc.o: help.h
  111.  
  112. command.o graphics.o graph3d.o misc.o plot.o setshow.o term.o: setshow.h
  113.  
  114. bitmap.o term.o: bitmap.h
  115.  
  116. #
  117. # misc
  118. #
  119. clean:
  120.     delete #?.o
  121.  
  122. veryclean: spotless
  123.  
  124. spotless:
  125.     delete #?.o gnuplot
  126.  
  127.